package com.huadi.firematerialident.po;

import java.time.LocalDateTime;

public class FireMaterialEvidenceInfo {
    private String MEID;
    private String FireInfoID;
    private String METype;
    private String MoreInfo;
    private String ArchivingStatus;
    private boolean LogicalAddDel;
    private LocalDateTime LastModification;

    public String getMEID() {
        return MEID;
    }

    public void setMEID() {
        long time=System.currentTimeMillis();
        String s= String.valueOf(time);
        String ss=s.substring(3);
        this.MEID = "M"+ss;
    }
    public void setMEID(String meid){
        this.MEID=meid;
    }

    public String getFireInfoID() {
        return FireInfoID;
    }

    public void setFireInfoID(String fireInfoID) {
        FireInfoID = fireInfoID;
    }


    public String getMEType() {
        return METype;
    }

    public void setMEType(String METype) {
        this.METype = METype;
    }

    public String getMoreInfo() {
        return MoreInfo;
    }

    public void setMoreInfo(String moreInfo) {
        MoreInfo = moreInfo;
    }

    public String getArchivingStatus() {
        return ArchivingStatus;
    }

    public void setArchivingStatus(String archivingStatus) {
        ArchivingStatus = archivingStatus;
    }

    public boolean getLogicalAddDel() {
        return LogicalAddDel;
    }

    public void setLogicalAddDel(boolean logicalAddDel) {
        LogicalAddDel = logicalAddDel;
    }

    public LocalDateTime getLastModification() {
        return LastModification;
    }

    public void setLastModification(LocalDateTime lastModification) {
        LastModification = lastModification;
    }

    @Override
    public String toString() {
        return "FireMaterialEvidenceInfo{" +
                "MEID='" + MEID + '\'' +
                ", FireInfoID='" + FireInfoID + '\'' +
                ", METype='" + METype + '\'' +
                ", MoreInfo='" + MoreInfo + '\'' +
                ", ArchivingStatus='" + ArchivingStatus + '\'' +
                ", LogicalAddDel=" + LogicalAddDel +
                ", LastModification=" + LastModification +
                '}';
    }
}
